/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-06-23 13:20:34
 * @LastEditTime: 2024-07-07 10:34:20
 * @FilePath: /nest_study/web/src/views/system/menu/components/rules.ts
 */
export const rules = {
    parentId: [{ required: true, message: '请选择上级菜单！' }],
    name: [{ required: true, message: '请输入部门名称！' }],
    menuType: [{ required: true, message: '请选择菜单类型！' }],
    visible: [{ required: true, message: '请选择显示！' }],
    icon: [{ required: true, message: '请选择菜单图标！' }],
    path: [{ required: true, message: '请输入！' }],
    sort: [{ required: true, message: '请输入排序！' }],
}